import java.util.Scanner;

public class Shuchushuzu {
    public static void main(String[] args) {
        int[] nums={11,25,30,40,33,90,100};
        Scanner reader=new Scanner(System.in);
        System.out.println("请输入target值：");
        int target=reader.nextInt();
        for (int i=0;i<nums.length-1;i++){
            for (int j=i+1;j<nums.length;j++){
                if (nums[i]+nums[j]==target){
                    System.out.println("["+i+","+j+"]");
                    return;
                }
            }
        }
        System.out.println();
    }
}
